update rails version, add images to home

fix database