Adding fucntionality to edit database settings for the profile