Your installation of WordPress prompts for FTP credentials to perform updates. (Your site is performing updates over FTP due to file ownership. Talk to your hosting company.) code example
Example 1: wordpress asking for ftp credentials
define('FS_METHOD','direct');
Example 2: wordpress asking for ftp credentials
chmod 777 /yourwebsitename/public/wp-content/plugins/