add gcm dependencies and update permission's and files