create and update profiles
fixed issues with modal