Fix import database task
Update rails