public static void uploadPicture(Blob picture) { Profile profile = getCurrentProfile(); profile.picture = picture; profile.save(); // form(); }